added dependency checking to updating
lots of work on updater