adding assets and updating index