update expressRouter to new architecture