updating Dao generic class