Update helper_functions.R