Update template: Handle Multiple Line/Array Inputs