updating practice problems query