Update nl_functions.php