The widget does not update automatically

The widget updates every 5 minutes if you do not enter the application. This is a recommendation (limitation) from the operating system. Otherwise, widgets will drain battery/traffic.