update config and serve it