updates for color changes to insert text