committing database