Update custom_functions.js