More add to db logic