editPMIDs function

edit PMIDs