What does PUBLISH do in IMS?

It updates event state at the server side so subscribers can later receive the new state through NOTIFY.