Add upload functionality