modify Document