Add IDPIndices and update IDPindex