chang directory of image files and add new create note to database