private void UpdateEntry(LocalContent local, string checkSum, string mime, int size, List <string> labels)
        {
            var entryForUpdate = _entriesApi.GetEntryByPath(_bucketData.bucketId, local.GetPathInCloud);

            if (!checkSum.Equals(entryForUpdate.ContentHash))
            {
                var entryUpdate   = new EntryUpdate(checkSum, size, mime, labels);
                var entryResponse = _entriesApi.UpdateEntry(_bucketData.bucketId, entryForUpdate.Entryid.ToString(), entryUpdate);

                _windowElements.WriteLog($"Updated entry | path {entryResponse.Path} " + $"| hash {entryResponse.ContentHash} " + $"| size {entryResponse.ContentSize} " + $"| type {entryResponse.ContentType} ");

                Upload(local);
            }
            else
            {
                _windowElements.WriteLog($"Skip updating | file not changed {local.GetPathInCloud}");
            }
        }