fixed some bugs in setConfig, fired notify for changes to heartbeat change works