update pubkeys