update the data using react redux hook example Example: useDispatch() useDispatch({ type: '', playload });