add data info to history