fix link to edit document