Update itemmanager.php