Updating the master index