updated doc comment for resource event