upated database to show correct events