Add funtion to update the keypair