update trex repo