Update database API usage