Fixed User DAO update function bug.