fixed updateID, changed how searchCache functions