update references between porgram and certificate, add unpack and upload feature for certificate