fix list api cache not updating upon creation and deletion
Partition list api still shows older results if we add or delete a partition. This is because partition list cache is separate from partition cache. This MR aims to fix this by updating the list cache whenever there is a create or delete api call by clearing the cache.