Which of the below best fits the definition of AMEND?

A) something that happens randomly
B) to revise something written so that it is more fair or appropriate.
C) to pull together money
D) to provide a rational basis for doing something