Update packages and gentree

gentree: remove leaves, fix cover
Modify model to models