Changed the way notes information is passed around

Now updating a pills notes triggers a pill updated event