Updated middleware dependencies