edit document interface done