update config&check his