App Update with Firebase does not work anymore

I have this to notify the user when an update is available. This worked a long time, but now it has stopped working.

The User gets the notification, the Update will be downloaded AND installed, but when opening the app then, there is again the notification that an update is available.

Could it be, that this is not working anymore for a reason?