updated validations on models