refactored the mongo-api path to be consistant