Update model_stage.r