update theme directory script