update image upload to set maxBytes