revise the model graph