Update indices.