upgrade documents