tag.c: use ref transactions when doing updates