Updated photo grouping to 18 in db