implement refresh_model_state