update weight loss post for pyhton