updated events controller