Added a simple auto-update mechanism