update server and genkey according to new key pkg