edit and reorg model