edit to plugin