add mongoose support