Update mode of sshkey