How can I update these versions?

How can I update ERPNext and Frappe Framework ?
also how can I update each app ?
and after any update what will happen for my data?

image

Updating

The system is being updated. Please refresh again after a few moments.

After run bench update.
How long it takes?

Update usually depends on your data and your customizations.