Ensure indexes in 'events' collection on mongo update tasks
Add 'published' attribute and remove 'time' and 'created_at' attributes on mongo update task