changed the way notifications are sent allowing for extra info to be sent in the data field