How to update the client

Hi,I write a game by cocos2d-x,and it is near completed now.
However,I don’t know how to write the code about update the client,should anyone give an example.
thanks.

I am sorry, what do you mean by “update the client”?

thanks for your reply, “update the client” means it can down load new levels, pictures,musics etc,like where is my water .