set_tags function

Changes tags of a linelist object