Modified update mechanism to use aptitude for simplicity. Refactored code. aptitude gets killed due to python out of memory, we must find a solution