update msgSta(save only once)