update class dependencies