You are getting error because you are passing invalid statement to what. What expect only plsql procedure to run.
You should pass whole plsql block or a procedure as a job not a single statement like execute immidiate to add.
You should add your new code with existing and pass to what procedure at once.