Update with python port