added updateitem.php
many changes