How to update erpnext12 to 12.27 (latest of 12)

hello community. how exactly to update my erpnext12 to latest of 12 ?
because bench update is not doing that .

You can try manually pulling the latest changes of frappe and ERPnext apps both by
git pull upstream version-12

And then run migrate by
bench --site sitename migrate

Try bench update --reset followed by bench migrate and finally bench clear-cache

bench get-app --branch=version-12 erpnext