updated the color of cursor to red