Update to python 3