There is a UpdateUser Request for CUCM 10.x; there you can set imandpresense and the service profile.
For older Versions you have to look at the corresponding schema.
SQL-Query would also be possible but you should be absolutly sure to know what you are doing when running SQL updates.
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: