updated spider code documentation.