update gallery routes for fallback