update topic function; set black background and white text.