update the middlebox agent