edit the first of document