fixed label update bug