updating base dn js