use put instead of post
copy paste fail
Merge pull request #4 from maxstudener/master

Bug fix for saving relations