edit tool method