update before local repo fix