Update pooler to use mongodb