How to Reset Sequence Current Value

We are migrating our SharePoint portal lists to M-Files, and the process went smoothly by using M-Files REST API, however we're encountering issue of resetting UniqueSequenceID to specific number, here is the scenario: we’ve a UniqueSequenceID (suppose its current value is X) created under utilities inside Compliance Kit in Other Applications Configurations, its just giving sequence value to document in specific state in the workflow; the question is how to set the sequence to a specific number, whereas while the migration process we had to stop the sequence and enable it after, so that its next value should the last sequence coming from SharePoint (suppose it current value is Y). Please note that we already have files in M-Files using the same sequence.

Looking forward,