Added check for update