def update_metadata(uid)
      return false unless store_meta
      path = full_path(uid)
      meta = storage(:get_blob, container_name, path)[0].metadata
      return false if meta.present?
      meta = meta_from_file(path)
      return false if meta.blank?
      storage(:set_blob_metadata, container_name, path, meta)
      storage(:delete_blob, container_name, meta_path(path))
      true
    rescue Azure::Core::Http::HTTPError
      nil
    end
def update_metadata(uid)
      return false unless store_meta
      path = full_path(uid)
      meta = storage(:get_blob, container_name, path)[0].metadata
      return false if meta.present?
      meta = meta_from_file(path)
      return false if meta.blank?
      storage(:set_blob_metadata, container_name, path, meta)
      storage(:delete_blob, container_name, meta_path(path))
      true
    rescue Azure::Core::Http::HTTPError
      nil
    end
Updates metadata of file and deletes old meta file from legacy mode.