fixed match regex in validator
added test for update attribute of config setting to check that validations are working