update solution for Word Search