Added a check for updates button