updated pdf transform call