add duration to MZAction.