fixed non-updating relation values