Update a name and add a diff to delete window name in the status bar