update registerSubscriber