change new to edit