improve reading riji directory
update Document