Modify to match current db.core functions and add player / team id on each event
Signed-off-by: shunen.chen <shunen.chen@gmail.com>