update test and model