setting edition mode with the new structure