update code in project Anagram