update writing