private static function update(Building $model)
 {
     $db = Database::getInstance('app');
     $query = "UPDATE buildings SET name= :name WHERE id = :id";
     $result = $db->prepare($query);
     $result->execute([':id' => $model->getId(), ':name' => $model->getName()]);
 }