Updates templates dir setting