update

abstract fun update(root: RootElement, width: Float, height: Float, data: T)