update grid settings