more generic CustomerConfig#update/select methods, that should be moved to the base class
minor cleanup on database wrapper