The Lenovo-site (or customer service) should list the compatible CPU's (if any) and what BIOS version they need. Nobody except Lenovo would risk to advise you anything without it being tested and supported.
Hi!I
I just upgraded my Lenovo Id500-15ACZ memory to 16Gbytes and I'd like to upgrade the CPU(A10-8700P) and the DVD optical drive to a bluray one, could someone might give me some compatible compatible parts ID please? Its OS is Ubuntu 16.04.
Thanks for the time spent to read the message and, eventually, to give an answer. Cheers!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic