change pk to id