@RequestMapping(value="/update",method=RequestMethod.POST)
	public String update(Task task,MultipartFile UIFile,Model model,String Orignal_uiProtoUrl
			,HttpSession session) throws Exception {
		String filename = null;
		String path = null;
		System.out.println("adsdsdasdasdsadasdasda ===="+UIFile);

		if(UIFile.getSize() > 0){
			filename = this.getNewFileName();
			path = sc.getAttribute("rootRealPath") + "file/" + filename;
			UIFile.transferTo(new File(path));
		}else{
			filename=Orignal_uiProtoUrl;	
		}
		task.setUiProtoUrl(filename);


		session.setAttribute("task", task);
		int resno = taskService.updateTask(task);

		if (resno > 0) {
			model.addAttribute("status", "SUCCESS"); 
			model.addAttribute("task",task);
		} else{
			model.addAttribute("status", "FAIL");
			model.addAttribute("task", task);
		}

		return "task/taskUpdateResult";

	}