Need to be able to Insert/Delete New Groups via HTTP or MySQL

I know how to insert a new group via MySQL, and it works, to a degree. The problem is that the database changes are not fully read if you insert the groups manually because of the Cache issue. So this is what I am looking to do, if possible. Some way to make changes via MySQL, and then send a HTTP request to the openfire server to read the new changes. Or some way to add/delete groups similar to how the User Service works.

I am sufficient in PHP, but I have never programed in Java, and I don’t think I have the time to learn to do what I need to do on the scheadule I am hopeing to release on my project.

If anyone can help I would appreciate it