update the catalog indexes after swap to make stuff working