Update plugin to use new storage plugin interface