[UserConfig] Add a new function: store() that automatically decides to use either insert or udpate.