Finish upload functions