Update the python template