update the catalog file etc.