refine tags updating from form, eg deal with duplications and multiple commas