Save event to db