move update logic to pet model
Merge pull request #38 from aqlien/happiness

move update logic to pet model