Can I change Query ResultSet and save the Document?

I’m using v.2.0 of couchbase-lite-android. Can I skip extra query getDocumentById and save changed results from ResultSet like this:

DataSource tripDS = DataSource.database(PersistenceManager.getInstance().getDatabase());
Query query = QueryBuilder
.select(SR_ALL)
.from(tripDS)
.where(EXPR_TYPE.equalTo(Expression.string(“trip”)))
.orderBy(Ordering.expression(Meta.sequence).descending()).limit(Expression.intValue(1));

        ResultSet rs = query.execute();
        Result result = rs.next();
        Dictionary tripDictionary = result.getDictionary(BasePersistenceManager.DATABASE_NAME);
        MutableDictionary trip = tripDictionary.toMutable();

        if (trip != null) {
            if (trip.contains("timestamp")) {
                trip.setLong("duration", (new Date()).getTime() - trip.getLong("timestamp"));
            }
            Document newTrip = PersistenceManager.getInstance().getDatabase().save(trip); // <-- ERROR
        }

This post discusses the same. In short, query for the document Ids , get corresponding document and update the same.