Updates grid component