replace old editor data with new editor data