updating the Dao classes