update model inserRow method