Now that new version of Frappe and ERPNext are released how to update them?

I just read a post which stated that new version of Frappe and ERPNext are released today.

How can I update them in my virtual machine?

Open a terminal to the VM, and then login as the “frappe” user that you used in the setup. Then run…

cd ~/frappe-bench;
bench update --reset

you can use these commands to update the latest version of frappe and erpnext.

bench get-app --branch=version-13 frappe
bench get-app --branch=version-13 erpnext