edit after confrim working