added parent_id kwarg to upload method