update repo before installation