update prediction modes