Update functions.rpy