Added validation rules
updated migration