update row after saving