add events and update rake tasks