updated routes for photos