update pkey method initialisation and copy