update by dovewi

update for DAOFunction