change color and update tag