update charge in mapping table