set up notes create and update actions