Added support for OS X 10.10 Yosemite
Fix check for update