editing add method