add data and delete the original figures