updated the router
working on node templates