Update moduleFunctions.php