update new & edit