When the larva is ready to pupate, it injects a chemical into the spider. This causes the spider to build a web whose design is completely different from any it has ever made. Then the spider sits still in the middle of the web. 