update config
add memory stat