update upload according to new requirement