Edit patches