update rest-core for sweeping dead references to avoid memory leak