updatign notes database