improvements to update formula after insert row