update public path, update requirejs