add sql data for structures