Modify reference html