update title and color