update_itemsInLevel function

Update items programmatically