Added SelectAll and CreateAndUpdateIndecies