update pdf-reader and include require dependency