update encryption scripts