More docs

Added documentation for amend and update functions.

[#63303980]
Updated implmentations of save, update, amend

Changed the implementations of save, update and amend to:
1) reduce query count.
2) use update_fields correctly
3) validate txn_end_date is not set fo update and amend

added test cases

[#63421322]