Update the programgenre table and rename the temp table to the real one.