update the r and s phase files html