update encryption