Setting partnet id