update peos.c

peos.c now can handle an update event that updates the action status of
a process; it now also returns the pid in the xml