set the structure of each entry and fixed upload of that