Update mainLocal.php