Update writer.c