update controller to create