update life and modify the color