update Grid Functionality