We have extensions to help.
We have an "Insert Multiple Records" server behavior you can use on your insert page to insert the multiple records into the relational table on the insert page.
On the update page you would use our "Manage Relational Table" extension.