update config and rmeove orion from hooks.js