adds update functionality to controller and proper rick size