data upload functionality added