making small changes to check upgrade notification

added a warn message