included update flag
added simple framework to work with for now