implemented many-to-many relation saves