updated encryption