update macs cluster script