update phpFunctions