update with edit