modify duration in event