Updating models to python3