edit exist method