update config and init script