Updating ref's location_str when slug of category is getting updated.