update the user dictionary