Updated the config and changed api.php to match