Merge "Update writer API flag" into main