updated RegisterPmid() signature to take pmid key