Adding in compression option to update_index()