update NSDocumentDirectory