updates attribute counter on inserts and imports