Update phpFunctions