update database,edit product