fix delete handler on rating issue. inculde raing segment, API changed
fix delete handler on delete product when raters and avg rating reaches 0