add schedule to createEvent template