updated notifications client to be more clever and work out the most relevent events