Changed API events according documentation