update and pdf removal