@RequestMapping(value = "/{id}", method = RequestMethod.PUT, produces = "application/json")
	public ResponseEntity<?> update(@PathVariable("id") int videoId,
									@RequestBody Video video,
									@RequestParam(required=false) String searchFor,
									@RequestParam(required=false, defaultValue=DEFAULT_PAGE_DISPLAYED_TO_USER)int page,
									Locale locale){
		if( videoId != video.getId()){
			return new ResponseEntity<String>("Bad Request", HttpStatus.BAD_REQUEST);
		}
		
		videoService.save(video);
		
		if (isSearchActivated(searchFor)){
			return search(searchFor, page, locale, "message.update.success");
		}
		
		return createListAllResponse(page, locale, "message.update.succes");
	}