updating documents in mongodb using node