upload functionality

Change-Id: I4651313e02988e491e98538e75a4de92b3cd1f02