delete pdf doc and add url