Added upload option to api