Update API to enable local cache