update statusline to show mode