added check for updates