adding support to drop database links