updated hooks for pi and duplo