Update for edit