updated case_model