moving partition id to instance