update setup for automatically required directory