remove a lot of the update.php file

This also fixes a bug : an old instruction no longer valid that breaks
the update.