update component for json support