redesign db client