Update Plugin, change export function