reorder the update of the item table as instructed by Michael Vogel
Merge pull request #622 from zzottel/master

reorder iteam table update