add events dependencies