update grid and possible words