updating index and uploading pics