Added db editing