Update python to communicate correctly