revise the model