Bugfix for update script (LEV-112)