update c script