[WIP][DO_NOT_MERGE] add an upstream image field to builds

ImageName -> Image and same thing with image id -> name.