- implemented full function data access
- fixed database transaction