Update functions.pwn