update config and add post init