upgrade mongoose and q version.
fix typo.