add validation class for command model
add validation to receiver module
update validations
add update_attributes to command model