update controller for new examples