making some changes to the update method in BBModel
making some changes to the update method in BBModel