update to controller and removed lib