Weight management for type 2 diabetes