modify external model.