updated some python stuff