Update statusline
Wrap autocommand in if block