update code for priv2pub post update