Fixed update config method