updated index.php by addimg table