change table view for many tables