commit the structure