store is not updated after the setting of a extraParams

store is not updated after the setting of a extraParams

Hi All,
I am not getting the updated value from store after the setting of extraParams and the whole logic is in the "OnSubmitButton" function of a controller and I had already set the extraParams in the "OnSubmitButton" function itself only, also given the load() function in the "OnSubmitButton" function and I want to print the upadated Store data in the "OnSubmitButton" function only i.e.(console.log("The return value is="+nm) , I am not getting the updated value of nm in the session of a "OnSubmitButton" function.