edit doc