update config and static