Push events into the db