Changes in editing data algo