updated case entity and caseDAO