Updating to python 3