Update DataWriter.cpp