Updated SQL and added PHP code to commit a Location/Timestamp