Welcome to the community! Where in your code are you updating the width of the outline? Moving forward, it would be helpful to see a sandcastle demo of your work. In the meantime, the following community forum thread addresses updating the outline width of polygons.
I am wondering if a similar technique can be used for your application. I am curious to hear your thoughts.