Enhancement of Long-Horizon Task Planning via Active and Passive Modification in Large Language Model | Synapse