update input.tag for calendar type