Changed check for update