Updates grid settings