fixing update component