Updated mongo endpoing