update modules to routes