fixed SemanticText.update not working with empty array as input