update window color