Updated to use revsys mongo client