update addresses after connection