Update function inside options.php