local db commit