Previously, it was only done on repo update. Now it is done whenever an app is installed or unisntalled. The query to update the suggested version for each app is quite slow when run at the end of a repo update. However in this change, we are limiting the query to only update a single app, which means that performance should not be a problem.