added commit

needed to commit the MySQL transaction. Now it adds observations to the
database!