Update access events with the sql statements that caused them