fix for check for update