Update max hosts count