First take a backup.
use below command in frappe-bench directory:
bench update // OR bench update --reset