Added an API for updating multiple indexes.