set partition ids only if they are still same with the owned ones