fixing issue with update config