adjust table mappings