updated encryption type