collection: use write command module for insert.