method edit