fix env update issue and add system vm life cycle