improve tests, save pet after update