updating redux