update: prevent infinite update

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>
update: prevent infinite wait.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>