Properly updating remote command state.