fixing update of taskpanels