Change a duration of the event