update trait dependency