update title for opened/new files