Update to use new addkeyconfig function