update model BD