Multiple Media file upload added

Implemented media upload and state update with media upload.