add interface update event

remove debug messages and mark old code
add new events to file agent ( to update interface )