Update and rename functions to functions.php