convert to polymer and update the sample