Auto update and auto restart