update carbon writer