Update state.bin