update db.go create db_test.go
auto commit