Fixed upload

Fixed upload endpoint