generator edit