check on nil photos, gem updates