update repo init and repo sync