update result.