updated retain-trans and added assoc-ops, update-head