update some scala classes