pub async fn add_problems( db: &Surreal<Client>, id: String, problems: Vec<Thing>, ) -> Result<Option<Contest>>