Bariatric surgery in managing diabetes mellitus