Deoxys-E hurts this team so much that its not even funny. 4 out of 6 are 1HKO while the other 2 are 2HKO bij one of Deoxys-E moves. Not to mention dat Deoxys-E is faster than every Pokémon you have.
Other special based sweepers are also a big problem for this team. Most important one would be SpecsMence. With Lucario as your only Steel Type you don't have a reliable swicht in on Dragon type moves.
I suggest you use Metagross on your team instead of Porygon2. You will lose a status inducer but i don't really see why you want 2 of them anyway.
To get rid of your Azelf and Gengar weakness you could try to use a Weavile over Lucario. Not sure if you want to lose Lucario though. Maybe you could try out what fits better.
If you want something to absorb status you could change your Gyarados in a bulky RestTalker.