Update some important modules to Python 3