Update a field on context row

I am trying to update a field on context row but it is not getting saved to database. var seq = recordrow.Sequence__c-1; var rowsToUpdate = {}; model.updateRow(recordrow, ‘Sequence’, seq); model.save(); Any thoughts?

Could you please provide me more information please ?

I think it should be 

model.updateRow(recordrow, {‘Sequence__c’: seq}); 


maybe there are other Problems as well

Greetings