Hi guys. My question is the update method merge the prevstate with the nextstate or replace the whole object?