update phial-init script