change URL from headpin to sam