Function update

Source
pub async fn update(
    db: &State<Surreal<Client>>,
    id: &str,
    problem: Json<CreateProblem<'_>>,
) -> Result<Empty>