Fixed bug with getting wrong hostname for update events.
Merge branch 'test' into dev