handling plugin changes in core