Update itemapicontroller.php