Update scriptcontent