modify document only