updated view case and casedao and entity