Updated writer