Update gridview.py