pub async fn update( db: &Surreal<Client>, id: &str, problem: CreateProblem<'_>, ) -> Result<Option<Problem>>