Added config update function

Added and documented a function to update the config inside an XKPasswd
instance.