Update config file, fix graph bug