Updated updateExistingPivot to be a public method