Updated gpg plugin