Update customFunctions.js