change plugin to use API