Update String validator to new convention