updated the custom plugin