private void OnDataUpdatedSuccesfuly(JHSNetworkMessage netMsg) { SubmitDataForUpdate data = netMsg.ReadMessage <SubmitDataForUpdate>(); if (data != null && data.Code == ErrorCodes.JUST_DATA_UPDATE) { SitesManager.Init(data.Changed); } else { SitesManager.UpdateSuccess(); } }