updated index and vendor listings view code