Update the image building process