update directory and pod spec