updates for deploying masters and agents