changed upload functionality, still need to fix service binding