Changes bd and instances
Changes bd