update directory in publish script again