update to python 3