updated doggy story and pet functions