rename pilot images from name to id