Fix some bugs when update a database.

- The schema 04 was creating manufacturer column in product table.
That column should not exist since patch 03-18.
-  When update a database, clear the cached values(parameters data)
to ensure consistency between patches and database.

Change-Id: I6734445df2989521c17f9b005693078b04bbe3b7