rebuild Dao code