upload the structure