updating repo before doing anything