update

add collection class and optdb collection