added update user settings functionality