Updated gpg api changes