Fix updating of single relation.
Merge pull request #11 from kbielefe/master

Fix updating of single relation