Port to py3
update