Changed dao for updated rest project.