updating lookup_table.