add tag in place