Updated read collections method to new API changes.