updates grid button css