edit doc text