added npmsubscribe example and tweaked others to match new message format