avoid unnecessary updates of repository