update to 0.6 middleware format