adjusting events table