update public address