updated request middleware path in settings