fix can not update widget bug.