refactoring, added ability to update/continue build