set up tables index
edits orders views