update to new gear-lib