update title bar