save target and updated html