bmi updating in database however it is the incorrect value