text write update