update keysetting