adding event-publish template