Added `updatePivot` method for relations