Added func. in preupgrade.php in order to optain newitem instead of new