update config.h and proto.h