Renamed attributes column to layout_parameters
Updated to send the proper data.
Fixed merg conflicts
Updated db