updating config and routes