adapter: fixed missing primary value in updateOne()