Update function.py