updating api to use new mongo collection