Currently I\'m doing the following when inserting/updating and entity:
public async Task UpdateAsync(Model model, CancellationToken ct = def