updating build to restore packages