Update indices