update window message.