Run post-update hook only if there was an update