added docs on managing middleware