Update createRemoteEnrollee function.