upload functionality added for platform