update  client.HeartbeatInterval on change