Update fix for mavericks