update support mongoose 3.x