@PutMapping(value= "/update/{user-id}")
public String update(@PathVariable(value= "user-id") String id, @RequestBody user e) {
logger.debug("Updating user with user-id= {}.", id);
e.setId(id);
serv.updateuser(e);
return "user record for user-id= " + id + " updated.";
}