Update a segment

Updates the details of an existing segment including its name, description, and rules.