Update code in order to follow changes in python-mk-livestatus