updated tag and id