modify edict