edit save action done. some checking of mistakes needed