How to activate/deactivate an sql server agent job


I need to activate and deactivate an SQL Server Agent Job. I tried to execute the msdb.dbo.sp_update_job procedure with an Advanced Query-Element. The User has the privileges. So when i run the query no error is thrown. But wehn i look in the sql server managment studio, the job is still activate. what am I doing wrong?