update mycpu method