Updated rake tasks for events