update directory for hercules