update pre-up script