Updateing the main.php config file