updates grid image