added update_repos hook