updated productcontroller