public void updateStatus(FileModel file, float progress) {
    	//TODO: make this shit work properly 
       if (file != null) {
            int row = dataStore.getHistoryFileListModel().indexOf(file);
            setValueAt(progress, row, 3);
            fireTableCellUpdated(row, 3); 
            
            if(progress == 100){
            	
            	if(file.getStatus().equalsIgnoreCase(StringConstants.sending)){
            		file.setStatus(StringConstants.sent);
            	}else if(file.getStatus().equalsIgnoreCase(StringConstants.receiving)){
            		file.setStatus(StringConstants.received);
            	}
            	
            	fireTableCellUpdated(row, 4); 
            }
       }
    }