Update helper_functions.js