InMemoryWriter updated