update to work with latest chem