update key repeat interval