added tag data writing feature

some changes for booth tests