update href when keydown