Update helperFunctions.R