trying to make pdf update