converted puppy hash to database