Update middleware specification