UPDATE changing the package manager using XHR