Updates api, cache and collection.
Removes test database