update config for thrift service