Fixed bug with getting wrong hostname for update events.