revert onebyone function [insert det,taxon,obs]