db commit finally