updating table aliases
making sure all the lookup values are set properly