updating models validation