force-mode-line-update

force-mode-line-update is a built-in function in `C source code'.

(force-mode-line-update &optional ALL)

Force redisplay of the current buffer's mode line and header line.
With optional non-nil ALL, force redisplay of all mode lines and
header lines. This function also forces recomputation of the
menu bar menus and the frame title.