Update requirejs architecture