fixed some typos and got update.php working again