Update core/helper/generic_helper.php