more validations added to assistant model