change config path and route path.