Auto-Update

Implemented the auto-update process. 

Please have close look at the features before we merge it ;)