fix relationship update bug
fix relationship update bug

it worked fine for pointers but not for non pointers. The non pointer part is
now covered by the integration tests in the example.

manyminds/api2go,interlock/api2go,theduke/api2go,manyminds/api2go,interlock/api2go,theduke/api2go,greyhwndz/api2go,dfeyer/api2go,dennisfaust/api2go,dfeyer/api2go,dennisfaust/api2go,greyhwndz/api2go