updated userState