updating edge trigger to work with new message connections