Update methods.php