updated doc for error widget