added event to re-render the view on notes collection change