Added update.php, fixed footer.php, fixed database structure