added refinements for updating tooltip content when tooltip is visible