add a function to read mapping data
update mapping data (prepend a column for label)