updating grid colors