save data -> mark ancestor folders as modified