Bugfix when updating installed apps