updating dao classes (fixed)