Update method ajax Update