Added docstore migrate to view