add method edit