fixing the devtool content updating bug