updated writing mode