fixed routes for updated json stuff