add safe hasOwnProperty util
if a value is provided and a sequence exists, set the sequence to the new value