update grid discret