implement update mechanism and bugfix for stopall

Change-Id: I09fdd50051cdd2f44c7bca833c9c613845173fb0