updating upload logic
Merge pull request #6 from bradybeck/feature/addingCache

updating upload logic