update fun_helper.php