add callback to log table, update diff when clicked