Added ability to change pet's name (ajax call)