python update

update to the python file