fix the code to update end_time and node_id in perfruns