Update adminfunctions.php