SetStateRequest is Deprecated in Dynamics 365

Before Dynamics 365, we should use “SetStateRequest” to change the status of any record through plugin. Since Dynamics 365, this request is deprecated and we have to use normal “Update” request to change the status of any record.