updating py file for repo sync