update config.h and status