fixed issue updating tags