updated pdf custom functionality