fixed #431 - edit relationships