attach: get new entry between add attachment and update to avoid conflict
attach: get new entry between add attachment and update to avoid conflict

cheminfo-js/visualizer-helper,cheminfo-js/visualizer-helper