update config.xml
check return value