adds property to specify upload endpoint.
modifies assets code to use configured upload_enpoint