implement  the image upload and update the protobuf version