now setting the current state after sending patches