verify database is correct when updating an event