Add and modify shared group of Openfire from client side with Smack

Hi all I am from Argentina. My question is: I want add and modify shared group of Openfire from client side with Smack. Where I can find information over ad hoc commnad or any example. Thank for your ask.