update to support resubscribing