Saved events to database