Improved database client