update relays