incrementing parent version
setting m2m entities