Update the annotation row correctly after editing