Updated db tables definitions and related objects.