updatedkeys to be ints