added final version of updaer
did some clean up