upgrade to "0.6" middleware format