update index.php to enter data into the database