update atlas model and add balancing example