code: def update_sig(queue):
      
      while True:
          options, sign, vers = queue.get()
          info("[+] \033[92mChecking signature version:\033[0m %s" % sign)
          localver = get_local_version(options.mirrordir, sign)
          remotever = vers[sign]
          if localver is None or (localver and int(localver) < int(remotever)):
              info("=> Update required local: %s => remote: %s" %
                   (localver, remotever))
              info("=> Downloading signature: %s" % sign)
              status, code = download_sig(options, sign, remotever)
              if status:
                  info("=> Downloaded signature: %s" % sign)
                  copy_sig(sign, options, 0)
              else:
                  if code == 404:
                      error("=> \033[91mSignature:\033[0m %s not found" % sign)
                  error("=> \033[91mDownload failed:\033[0m %s code: %d"
                        % (sign, code))
          else:
              info(
                  "=> No update required L: %s => R: %s" % (localver, remotever))
          queue.task_done()
docs: update signature