upgrade the api return msg and config  and log