update mapping file