change plugin register