fix edit user and assets validation