update config and add plugin