auto-reload config under plugins object

with backward-compatibility and deprecation message