updates plugin to work with latest CP