update html instead of pdf