Change number of slaves