updated upload to fit in dptcms