set model validations