Hooked up upload item functionality from file parse page.

Changed update index functionality so that it now deletes everything in the existing index before updating.