1. move update_table to rendering related module from grid.py 2. add 100% unit testing coverage for the update_table function in new module