Add update checking message
Remove unneeded declarations.